<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!-- 页面内容充满屏幕 -->
  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.6,user-scalable=no">
  <!-- <van-nav-bar safe-area-inset-top /> -->
  <!-- 开启底部安全区适配 -->
  <!-- <van-number-keyboard safe-area-inset-bottom /> -->
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <title>数据展示系统（1/3）</title>
  <style media="screen" type="text/css">
    #appLoading {
      width: 100px;
      height: 100px;
      position: relative;
      margin: 0 auto;
      /* top: 50%; 
      margin-top: -50px;  */
      margin-top: 50%;
    }
    #appLoading span {
      display: inline-block;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #cccccc;
      position: absolute;
      -webkit-animation: load 1.04s ease infinite;
    }
    @-webkit-keyframes load {
      0% {
        opacity: 1;
      }

      100% {
        opacity: 0.2;
      }
    }
    #appLoading span:nth-child(1) {
      left: 0;
      top: 50%;
      margin-top: -8px;
      -webkit-animation-delay: 0.13s;
    }
    #appLoading span:nth-child(2) {
      left: 14px;
      top: 14px;
      -webkit-animation-delay: 0.26s;
    }
    #appLoading span:nth-child(3) {
      left: 50%;
      top: 0;
      margin-left: -8px;
      -webkit-animation-delay: 0.39s;
    }
    #appLoading span:nth-child(4) {
      top: 14px;
      right: 14px;
      -webkit-animation-delay: 0.52s;
    }
    #appLoading span:nth-child(5) {
      right: 0;
      top: 50%;
      margin-top: -8px;
      -webkit-animation-delay: 0.65s;
    }
    #appLoading span:nth-child(6) {
      right: 14px;
      bottom: 14px;
      -webkit-animation-delay: 0.78s;
    }
    #appLoading span:nth-child(7) {
      bottom: 0;
      left: 50%;
      margin-left: -8px;
      -webkit-animation-delay: 0.91s;
    }
    #appLoading span:nth-child(8) {
      bottom: 14px;
      left: 14px;
      -webkit-animation-delay: 1.04s;
    }
  </style>
  <!-- 站点配置 -->
  <script>
    window.SITE_CONFIG = {};
    window.SITE_CONFIG['version'] = 'v2.7.0';
    window.SITE_CONFIG['nodeEnv'] = '<%= process.env.VUE_APP_NODE_ENV %>';
    window.SITE_CONFIG['apiURL'] = ''; // api请求地址
  </script>
  <!-- 开发环境 -->
  <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %>
    <script>
      // window.SITE_CONFIG['apiURL'] = 'http://47.105.94.169:8091/hz-admin/dg'; // 测试环境

      // window.SITE_CONFIG['apiURL'] = 'http://192.168.1.17:8091/hz-admin/dg'; // 贞芳电脑

      // window.SITE_CONFIG['apiURL'] = 'http://15.72.177.15:8091/hz-admin/dg'; // 内网
      window.SITE_CONFIG['apiURL'] = 'http://120.221.95.112:18083/hz-admin/dg';


    </script>
    <% } %>
      <!-- 生产环境 -->
      <% if (process.env.VUE_APP_NODE_ENV==='prod' ) { %>
        <script>
          window.SITE_CONFIG['apiURL'] = 'http://120.221.95.112:18083/hz-admin/dg';
        // window.SITE_CONFIG['apiURL'] = 'http://15.72.177.15:8091/hz-admin/dg';
        </script>
        <% } %>
</head>

<body>
  <!-- 在文档开始加载的时候显示loading在js加载完毕后，显示app -->
  <div id="appLoading">
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
  </div>
  <div id="app" style="display: none"></div>
  <!-- built files will be auto injected -->
</body>

</html>